Skip to content

Conversation

@lydell
Copy link
Collaborator

@lydell lydell commented May 13, 2015

Before:

$ ./bin/coffee -bpe '###
> # paragraph 1
> #
> # paragraph 2
> ###'
/*
 * paragraph 1
#
 * paragraph 2
 */

After:

$ ./bin/coffee -bpe '###
# paragraph 1
#
# paragraph 2
###'
/*
 * paragraph 1
 *
 * paragraph 2
 */

This does not re-break #3638:

$ ./bin/coffee -bpe '###
> #/
> ###'
/*
#/
 */

lydell added 2 commits May 13, 2015 17:50
Before:

    $ ./bin/coffee -bpe '###
    > # paragraph 1
    > #
    > # paragraph 2
    > ###'
    /*
     * paragraph 1
    #
     * paragraph 2
     */

After:

    $ ./bin/coffee -bpe '###
    # paragraph 1
    #
    # paragraph 2
    ###'
    /*
     * paragraph 1
     *
     * paragraph 2
     */

This does not re-break jashkenas#3638:

    $ ./bin/coffee -bpe '###
    > #/
    > ###'
    /*
    #/
     */
michaelficarra added a commit that referenced this pull request May 13, 2015
 	Fix formatting of `#`-only lines in herecomments
@michaelficarra michaelficarra merged commit 769f02e into jashkenas:master May 13, 2015
@lydell lydell deleted the herecomments-formatting branch November 2, 2015 06:58
EsrefDurna pushed a commit to EsrefDurna/coffeescript that referenced this pull request Nov 12, 2025
 	Fix formatting of `#`-only lines in herecomments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants